<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.dao.CommonDAO"%>
<%@page import="com.util.Info"%>
<%@page import="com.model.Sysuser"%>
<%@page import="com.model.Familycy"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'top.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   <%CommonDAO dao = (CommonDAO)Info.getDao(request,"CommonDAO"); 
   Familycy cy = (Familycy)session.getAttribute("cy"); 
  %>
  <DIV id=header>
  <DIV id=user_nav>
	<%if(cy==null){ %>
  <A class=welcome title=登录 href="login.jsp">您还未登录 !</A> 
  <A href="login.jsp">登录</A> 
<%}else{ %>
	<font color="red"><%=cy.getTname() %>，你好</font>
  <A href="stuinfo.jsp">  个人资料</A>
  <A href="stuexit.action">安全退出</A>
<%} %>
  </DIV></DIV>
<DIV id=page>
<DIV id=branding class=clearfix>
<DIV id=blog_name>
<H1>
<font color="white">

 可穿戴健康监测系统

</font>
</H1></DIV>
<DIV id=fd></DIV>
<DIV id=blog_navbar>
<UL>
  <LI class=blog_navbar_for><A href="index.jsp"><STRONG>首页</STRONG></A></LI>
<%if(cy!=null){ %>
  <LI><A href="bjnotice.jsp">通知公告</A></LI>
  <LI><A href="tjbg.jsp">体检报告</A></LI>
  <LI><A href="sstz.jsp">实时体征</A></LI>
<%} %>
<DIV id=fd></DIV></DIV></DIV>
  </body>
</html>
